/***********************************************************************
 * Module:  IllegalRecordController.java
 * Author:  Administrator
 * Purpose: Defines the Class IllegalRecordController
 ***********************************************************************/

package ishitong.illegalManagement.controller;

import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

/** @pdOid 24cf5443-b2dd-4c1f-9bea-9f34b48bc2a5 */
@Controller
public class IllegalRecordController extends ishitong.common.controller.ActionController {
   /** @pdOid 6a967d62-543d-4f1e-b6b2-41ceafe36221 */
   private static final String IR_SCH = "/illegalManagement/illegalRecord/illegalRecordSearch";
   /** @pdOid 272132a9-f36a-49a9-aa3f-a8cfd3ef6341 */
   private static final String IR_SCH_LST = "/illegalManagement/illegalRecord/illegalRecordSearchList";
   /** @pdOid 43efc571-3c91-4b40-ae36-c88784dbbb37 */
   private static final String IR_VIW = "/illegalManagement/illegalRecord/illegalRecordView";
   /** @pdOid ffecef0f-6052-495d-8a88-12cc6b09dd21 */
   private static final String IR_EDT = "/illegalManagement/illegalRecord/illegalRecordEdit";
   /** @pdOid f3febd96-3e74-4cd3-8134-66ef1899ca2e */
   private static final String II_SLT = "/illegalManagement/illegalRecord/illegalImgSelect";
   
   /**查询人工录入违法记录页面初始化
    * 
    *  @param request
    * @exception Exception
    * @pdOid 1d02849f-7cc5-4e92-a1ce-548520bf4b7a */
   @RequestMapping(value = "/showIllegalRecordSearch.do")
   public ModelAndView handleShowIllegalRecordSearch(HttpServletRequest request) throws Exception {
   	try {
   		Map<String, Object> model = new HashMap<>();
   		return new ModelAndView(IR_SCH, model);
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   	return null;
   }
   
   /**查询人工录入违法记录 
    * 
    * @param request
    * @pdOid d827956c-9ec8-4c1a-ba02-a1a97f881ae3 */
   @RequestMapping(value = "/ajaxIllegalRecordSearchList.do", method = RequestMethod.POST)
   public ModelAndView handleFindAjaxIllegalRecordSearchList(HttpServletRequest request) {
   	try {
   		Map<String, Object> model = new HashMap<>();
   		return new ModelAndView(IR_SCH_LST, model);
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   	return null;
   }
   
   /** 导入违法记录
    * 
    * @param request 
    * @param response
    * @exception Exception
    * @pdOid aa00c069-a0f0-4bfd-85ee-c9c5cd1be0bd */
   @RequestMapping(value = "/ajaxImportIllegalRecord.do", method = RequestMethod.POST)
   public ModelAndView handleAjaxImportIllegalRecord(HttpServletRequest request, HttpServletResponse response) throws Exception {
   	try {
   		Map<String, Object> model = new HashMap<>();
   		return new ModelAndView(IR_SCH_LST, model);
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   	return null;
   }
   
   /** 选择图片页面初始化
    * 
    * @param request 
    * @param response 
    * @param illegalRecordId
    * @exception Exception
    * @pdOid a7f9b492-d649-4626-8ca9-c91801d80792 */
   @RequestMapping(value = "/ajaxShowIllegalImgSelect.do")
   public ModelAndView handleAjaxShowIllegalImgSelect(HttpServletRequest request, HttpServletResponse response, String illegalRecordId) throws Exception {
    try {
     Map<String, Object> model = new HashMap<>();
     return new ModelAndView(II_SLT, model);
    } catch (Exception e) {
     e.printStackTrace();
    }
    return null;
   }
   
   /**维护违法记录详细信息页面初始化
    *  
    * @param request 
    * @param response 
    * @param illegalRecordId
    * @exception Exception
    * @pdOid a665fe46-9815-4482-b267-fa55f932bc13 */
   @RequestMapping(value = "/ajaxShowIllegalRecordEdit.do")
   public ModelAndView handleAjaxShowIllegalRecordEdit(HttpServletRequest request, HttpServletResponse response, String illegalRecordId) throws Exception {
   	try {
   		Map<String, Object> model = new HashMap<>();
   		return new ModelAndView(IR_EDT, model);
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   	return null;
   }
   
   /**查看违法记录详细信息页面初始化 
    * 
    * @param request 
    * @param response
    * @exception Exception
    * @pdOid 471c4cfb-cd38-452f-a7ef-f9a4c868f5cc */
   @RequestMapping(value = "/ajaxShowIllegalRecordView.do", method = RequestMethod.POST)
   public ModelAndView handleAjaxShowIllegalRecordView(HttpServletRequest request, HttpServletResponse response, String illegalRecordId) throws Exception {
   	try {
   		Map<String, Object> model = new HashMap<>();
   		return new ModelAndView(IR_VIW, model);
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   	return null;
   }
   
   /**保存违法记录 
    * 
    * @param request 
    * @param response
    * @exception Exception
    * @pdOid a516a393-66e6-440a-a744-fd66a947d892 */
   @RequestMapping(value = "/ajaxSaveIllegalRecord.do", method = RequestMethod.POST)
   public void handleAjaxSaveIllegalRecord(HttpServletRequest request, HttpServletResponse response) throws Exception {
   	try {
   
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   }
   
   /**删除违法记录
    * 
    *  @param request 
    * @param illegalRecordIds 
    * @param response
    * @exception Exception
    * @pdOid fad6600c-6d5d-47cc-a60a-63ca3c830afc */
   @RequestMapping(value = "/ajaxDeleteIllegalRecordByIds.do", method = RequestMethod.POST)
   public void handleAjaxDeleteIllegalRecordByIds(HttpServletRequest request, String illegalRecordIds, HttpServletResponse response) throws Exception {
   	try {
   
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   }
   
   @RequestMapping(value = "/ajaxShowIllegalActionByIllegalType.do")
   public String handleAjaxShowIllegalActionByIllegalType(HttpServletRequest request, HttpServletResponse response, String illegalType) throws Exception {
   	try {
   		return null;
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   	return null;
   }
}